<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>登录界面</title>
</head>
   <link rel="stylesheet" href="css/login.css">
   <link rel="stylesheet" href="css/bootstrap.css">
   <script src="js/jquery.js"></script>
    <script src="js/login.js"></script>
   <script src="js/bootstrap.js"></script>
<script type="text/javascript">
    function changeImg(){
        var img = document.getElementById("img"); 
        img.src = "/survey/AuthImage?date=" + new Date();
    }
</script>
<c:set var="core" value='${core }' scope="request"/>
<c:set var="error" value='${error }' scope="request"/>

<body >
<c:set var="jumpto" value="${param.jumpto }"/>
<body>

<jsp:include page="elements/head.jsp"></jsp:include> 
   
     <div class="div-main">
	<form id="lrform"  action=<c:if test='${jumpto==null }'>"UserServlet?action=login"</c:if><c:if test='${jumpto!=null}'>"UserServlet?action=jumpto&u=${jumpto }"</c:if> method="post">
	<label>${core }</label><label>${error }</label>
	
	<div class="form-group">
	<div class="div-input">	
		用户名：&nbsp;<input class="form-control" type="text" name="username"  id="username" placeholder="请输入用户名"/><br/>	 
		 密码：<input class="form-control" type="password" name="password" id="password" placeholder="请输入密码"/><br/>	
		<input  type="checkbox" name="savepwd" />记住密码<br/>
	    <a href='javascript:void(0);'  onclick="javascript:changeImg();" style="color:white;">
	    <img id="img" src="/survey/AuthImage" />  
        <label style="color:#8e8e8e;">&nbsp;&nbsp;看不清？</label>
        </a>
		<input  class="form-control"  type="text" name="core" id="core" placeholder="请输入验证码"/>	
		<input  id="btn-login"class="btn btn-primary" type="submit" value="登录" id="btn-regist"/>&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="register.jsp" id="a-regist">没有账号？注册</a><br/>				
		</div>
		</div>	
	    </form>
		</div>
		
		<div class="lianjie">
	<div class="lianjieone">
						  <img alt="" src="Images/lianjie11.png">&nbsp;简约&nbsp;&nbsp;    
						  <img alt="" src="Images/lianjie12.png">&nbsp;好用&nbsp;&nbsp;
						  <img alt="" src="Images/lianjie13.png">&nbsp;免费 
						<h4>&emsp;&emsp;&emsp;探&nbsp;知&nbsp;为&nbsp;您&nbsp;提&nbsp;供&nbsp;优&nbsp;质&nbsp;服&nbsp;务&nbsp;</h4> 
						  </div>
	<div class="lianjietwo">
					官方邮箱:1930643143@qq.com<br>
					官方Q群:452523138<br>
					联系客服:<button>在线咨询</button>  </div>
	<div class="lianjiethree">
	微信二维码&nbsp;&nbsp;<img alt="" src="Images/weixinma.png">	</div>
	</div>
    <jsp:include page="elements/foot.jsp"></jsp:include>
</body>
</html>
